<template>
  <div>
    <button @click="emit('user-save')">BOX save</button>
    <button @click="emit('user-edit', { a: 1 })">BOX edit</button>
  </div>
</template>
<script setup>
import { defineEmits } from 'vue'
const emit = defineEmits(['user-save', 'user-edit'])

</script>